package com.cn.happymall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cn.happymall.bean.MmallCart;
import com.cn.happymall.bean.MmallCartExample;

public interface MmallCartMapper {
	int countByExample(MmallCartExample example);

	int deleteByExample(MmallCartExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(MmallCart record);

	int insertSelective(MmallCart record);

	List<MmallCart> selectByExample(MmallCartExample example);

	MmallCart selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") MmallCart record, @Param("example") MmallCartExample example);

	int updateByExample(@Param("record") MmallCart record, @Param("example") MmallCartExample example);

	int updateByPrimaryKeySelective(MmallCart record);

	int updateByPrimaryKey(MmallCart record);
}